<style>
    #cell-1 { float: left; width: 220px; }
    #cell-2 { float: left; width: 550px; } 
    #cell-3 { float: left; width: 250px; margin-left: 20px; }
    p {text-align: justify; }
</style>

<div class="vheader">
    <h1><?php echo $this->translate("Story") ?></h1>
    <p><?php echo $this->Stories->d->FullName ?>
</div>

<div class="vcontent">

    <div id="cell-1">
        <img class="shadow" src="/default/photo/full/cat/i/id/<?php echo $this->Stories->d->ClientId ?>" />
    </div>

    <div id="cell-2">
        <span class="label"><?php echo $this->translate('Code') ?>:</span> <?php echo $this->Stories->d->Code ?> -        
        <span class="label"><?php echo $this->translate("CodeType") ?>:</span> <?php echo $this->Stories->d->CodeType ?> -            
        <span class="label"><?php echo $this->translate("Birthdate") ?>:</span> <?php echo $this->Stories->d->Birthdate ?> -            
        <span class="label"><?php echo $this->translate("Gender") ?>:</span> <?php echo $this->Stories->d->Gender ?> -            
        <span class="label"><?php echo $this->translate("Skills") ?>:</span> <?php echo $this->Stories->d->Skills ?> -            
        <span class="label"><?php echo $this->translate("Handicap") ?>:</span> <?php echo $this->Stories->d->Handicap ?> -            
        <span class="label"><?php echo $this->translate("Education") ?>:</span> <?php echo $this->Stories->d->Education ?> -            
        <span class="label"><?php echo $this->translate("MaritalStatus") ?>:</span> <?php echo $this->Stories->d->MaritalStatus ?> -            
        <span class="label"><?php echo $this->translate("SpouseName") ?>:</span> <?php echo $this->Stories->d->SpouseName ?> -            
        <span class="label"><?php echo $this->translate("Children") ?>:</span> <?php echo $this->Stories->d->Children ?> -           
        <span class="label"><?php echo $this->translate("Dependents") ?>:</span> <?php echo $this->Stories->d->Dependents ?> -            
        <span class="label"><?php echo $this->translate("HomePhone") ?>:</span> <?php echo $this->Stories->d->HomePhone ?> -            
        <span class="label"><?php echo $this->translate("MobilePhone") ?>:</span> <?php echo $this->Stories->d->MobilePhone ?> -            
        <span class="label"><?php echo $this->translate("Email") ?>:</span> <?php echo $this->Stories->d->Email ?> -            
        <span class="label"><?php echo $this->translate("HomeAddress") ?>:</span> <?php echo $this->Stories->d->HomeAddress ?> -            
        <span class="label"><?php echo $this->translate("GroupName") ?>:</span> <?php echo $this->Stories->d->GroupName ?> -            
        <span class="label"><?php echo $this->translate("Community") ?>:</span> <?php echo $this->Stories->d->Community ?> -            
        <span class="label"><?php echo $this->translate("CommunityType") ?>:</span> <?php echo $this->Stories->d->CommunityType ?> -            
        <span class="label"><?php echo $this->translate("OfficerFullName") ?>:</span> <?php echo $this->Stories->d->OfficerFullName ?> -            
        <span class="label"><?php echo $this->translate("Location") ?>:</span> <?php echo $this->Stories->d->Location ?> -            
        <span class="label"><?php echo $this->translate("BirthPlace") ?>:</span> <?php echo $this->Stories->d->BirthPlace ?> -            
        <span class="label"><?php echo $this->translate("GrowthPlace") ?>:</span> <?php echo $this->Stories->d->GrowthPlace ?>            
        <br /><br />
        
        <?php if($this->Stories->d->FamilyInfo) : ?>
            <h3><?php echo $this->translate("General information about family") ?></h3>
            <p><?php echo $this->Stories->d->FamilyInfo ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->HeardAboutUs) : ?>
            <h3><?php echo $this->translate("Initial institutional contact") ?></h3>
            <p><?php echo $this->Stories->d->HeardAboutUs ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->CreditBeforeUs) : ?>
            <h3><?php echo $this->translate("Funding sources before the loan") ?></h3>
            <p><?php echo $this->Stories->d->CreditBeforeUs ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->BusinessRoutine) : ?>
            <h3><?php echo $this->translate("Business routine") ?></h3>
            <p><?php echo $this->Stories->d->BusinessRoutine ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->BusinessProgress) : ?>
            <h3><?php echo $this->translate("Business progress") ?></h3>
            <p><?php echo $this->Stories->d->BusinessProgress ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->BusinessChallenges) : ?>
            <h3><?php echo $this->translate("Business challenges") ?></h3>
            <p><?php echo $this->Stories->d->BusinessChallenges ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->PersonalInterests) : ?>
            <h3><?php echo $this->translate("Personal interests") ?></h3>
            <p><?php echo $this->Stories->d->PersonalInterests ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->HealthImpact) : ?>
            <h3><?php echo $this->translate("Impact on health situation") ?></h3>
            <p><?php echo $this->Stories->d->HealthImpact ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->HousingImpact) : ?>
            <h3><?php echo $this->translate("Impact on housing situation") ?></h3>
            <p><?php echo $this->Stories->d->HousingImpact ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->FamilyImpact) : ?>
            <h3><?php echo $this->translate("Impact on your family before and after the loan") ?></h3>
            <p><?php echo $this->Stories->d->FamilyImpact ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->CommunityImpact) : ?>
            <h3><?php echo $this->translate("Community impact before and after the loan") ?></h3>
            <p><?php echo $this->Stories->d->CommunityImpact ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->BusinessImpact) : ?>
            <h3><?php echo $this->translate("Impact on the business before and after the loan") ?></h3>
            <p><?php echo $this->Stories->d->BusinessImpact ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->SpiritualImpact) : ?>
            <h3><?php echo $this->translate("Spiritual impact before and after the loan") ?></h3>
            <p><?php echo $this->Stories->d->SpiritualImpact ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->PlusServices) : ?>
            <h3><?php echo $this->translate("About Microfinance Plus Services") ?></h3>
            <p><?php echo $this->Stories->d->PlusServicesDetails ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->Dreams) : ?>
            <h3><?php echo $this->translate("Future dreams") ?></h3>
            <p><?php echo $this->Stories->d->Dreams ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->Quote) : ?>
            <h3><?php echo $this->translate("Client's quote") ?></h3>
            <p><?php echo $this->Stories->d->Quote ?>
            <br /><br />
        <?php endif; ?>
        
        <?php if($this->Stories->d->Comments) : ?>
            <h3><?php echo $this->translate("Interviewer's comments") ?></h3>
            <p><?php echo $this->Stories->d->Comments ?>
            <br /><br />
        <?php endif; ?>
            
    </div>
    
</div>

<div class="vfooter">
    <div class="menu">
        <?php echo $this->link('/admin/story/log', array('format'=>'xml', 'StoryId'=>$this->Stories->d->StoryId),$this->translate("Story log"),array('target'=>'bottom')) ?>
        <?php echo $this->link('/admin/story/add', array('id'=>$this->Stories->d->StoryId),$this->translate("Edit story")) ?>
        <?php echo $this->link('/admin/client/view', array('id'=>$this->Stories->d->ClientId),$this->translate("Client profile")) ?>
    </div>
</div>